package com.best.developer.myarchitecturedemo.data.local.db;

import androidx.room.Database;
import androidx.room.RoomDatabase;
import androidx.room.TypeConverters;

import com.best.developer.myarchitecturedemo.data.local.db.dao.GirlDao;
import com.best.developer.myarchitecturedemo.data.local.db.dao.ZhihuDao;
import com.best.developer.myarchitecturedemo.data.local.db.entity.Girl;
import com.best.developer.myarchitecturedemo.data.local.db.entity.ZhihuStory;


@Database(entities = {Girl.class, ZhihuStory.class}, version = 1, exportSchema = false)
@TypeConverters({Converters.class})
public abstract class AppDatabase extends RoomDatabase {

    public abstract GirlDao girlDao();

    public abstract ZhihuDao zhihuDao();
}
